package com.bblocks.common.anti_reptile.service.impl;

import com.bblocks.common.anti_reptile.service.TokenService;
import lombok.NonNull;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>Project: bb-anti-reptile - TokenServiceImpl</p>
 * <p>描述：token服务默认-不转</p>
 *
 * @Author Zhao [125043150@qq.com]
 * @Date 2024/4/1 22:28
 * @Version 1.0
 * @since 8
 */
public class TokenServiceImplDefault implements TokenService {

    /**
     * token不转
     * @param request
     * @param token
     * @return
     */
    @Override
    public String token2UserId(@NonNull HttpServletRequest request,@NonNull String token) {
        return token;
    }
}
